package ooday03;

public class SwimTest {
    public static void main(String[] args) {
        Dog g = new Dog("小黑",3,"白色");
        g.eat();
        g.swim();
        g.lookHome();
        g.drink();
        Chick kk = new Chick("小计",2,"黄");
        kk.eat();
        kk.layEggs();
        kk.drink();
        Fish yu = new Fish("小鱼",1,"金");
        yu.eat();
        yu.drink();
    }
}
